package com.tony.domain.vo;

import com.tony.domain.enumerate.DeleteEnum;
import com.tony.domain.enumerate.EnableEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author tony
 * @date 2020/3/1 8:17 下午
 */
@ApiModel
@Data
public class AdminMenuPageVO implements Serializable {
    private Long id;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称")
    private String name;

    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID")
    private Long parentId;

    /**
     * 状态1：正常2：禁用
     */
    @ApiModelProperty(value = "状态1：正常2：禁用")
    private EnableEnum isEnable;

    /**
     * 删除状态1：正常2：删除
     */
    @ApiModelProperty(value = "删除状态1：正常2：删除")
    private DeleteEnum isDel;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    private String code;

    /**
     * 图标
     */
    @ApiModelProperty(value = "图标")
    private String icon;

    /**
     * 路由
     */
    @ApiModelProperty(value = "路由")
    private String route;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private String creator;

    /**
     * 修改者
     */
    @ApiModelProperty(value = "修改者")
    private String modifier;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}
